package com.hst.capacity.domain.model.entity.franchisee.commision;


import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "fm_franchisee_commision")//加盟商
public class FranchiseeCommisionEntity extends BaseEntity {

  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idFranchiseeCommision;
  private String idFranchisee;
  private String channel;
  private Integer moduleType;
  private float franchiseeRate;
  private float platformRate;
  private float driverRate;
  private float otherRate;

}
